package com.general.framework.example.sign;

import java.util.SortedMap;
import java.util.TreeMap;

public class MainTest {
    public static void main(String[] args) throws Exception {
        SortedMap<String, String> parameterMap = new TreeMap<String, String>();
        //3. 构造参数集合 89861123215039658732
        parameterMap.put("iccid", "89861123215039658732");
        parameterMap.put("method", "xkwei.iccid.queryOne");
        parameterMap.put("requestNo", "240320797278209");
        parameterMap.put("timestamp", "1727170419");
        parameterMap.put("userCode", "Z9012582121938135");
        String sign = SignatureUtil.createSign(parameterMap,"dcf7055a480efb11");
        System.out.println(sign);
    }
}
